package MyGO.service.impl;

import MyGO.dao.ICheckProDao;
import MyGO.dao.impl.CheckProImpl;
import MyGO.property.CheckPro;
import MyGO.service.ICheackProService;

import java.util.HashMap;
import java.util.List;

public class CheckProServiceImpl implements ICheackProService {
    ICheckProDao checkProDao = new CheckProImpl();
    @Override
    public List<CheckPro> selectAllCheckPro() {
        return checkProDao.selectAllCheckPro();
    }

    @Override
    public List<CheckPro> selectCheckProByDept(String dept) {
        return checkProDao.selectCheckProByDept(dept);
    }

    @Override
    public HashMap<String, CheckPro> getAllCheckPro() {
        return checkProDao.getAllCheckPro();
    }
}
